#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
const ll p = 1e9 + 7;

ll fib(int n) {
	if (n <= 2) return 1;
	return (fib(n - 1) + fib(n - 2)) % p;
}

int main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	int n; cin >> n;
	for (int i = 1; i <= n; i++) cout << fib(i) << '\n';
	return 0;
}